package com.sunchangpeng.wechat.mp.media.bean;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MpArticle {
    private String title;

    @JSONField(name = "thumb_media_id")
    private String thumbMediaId;

    private String author;

    private String digest;

    @JSONField(name = "show_cover_pic")
    private boolean showCover;

    private String content;

    @JSONField(name = "content_source_url")
    private String contentSourceUrl;

    @JSONField(name = "need_open_comment")
    private int needOpenComment;

    @JSONField(name = "only_fans_can_comment")
    private int onlyFansCanComment;

    private String url;

    @JSONField(name = "thumb_url")
    private String thumbUrl;
}
